home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1989-07-27 | 2.3 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: get_read_flags.c
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Jul 27 18:52:40 1989, modified Thu Jul 27 18:52:40 1989, creator 'MPS ', type ASCII, 1695 bytes "get_read_flags.c" , at 0x71f 382 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 67 65 74 5f 72 65 | 61 64 5f 66 6c 61 67 73 |..get_re|ad_flags|
|00000010| 2e 63 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.c......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 06 9f 00 | 00 01 7e a0 f5 42 b8 a0 |........|..~..B..|
|00000060| f5 42 b8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.B......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 75 f2 00 00 |........|....u...|
|00000080| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2f 0d 2f 2a 09 0d 2f 2a |********|/./*../*|
|000000d0| 09 67 65 74 5f 72 65 61 | 64 5f 66 6c 61 67 73 2e |.get_rea|d_flags.|
|000000e0| 63 0d 2f 2a 09 62 79 20 | 41 74 75 6c 20 42 75 74 |c./*.by |Atul But|
|000000f0| 74 65 0d 2f 2a 09 43 6f | 70 79 72 69 67 68 74 20 |te./*.Co|pyright |
|00000100| a9 20 31 39 38 39 20 62 | 79 20 4d 69 63 72 6f 73 |. 1989 b|y Micros|
|00000110| 6f 66 74 20 43 6f 72 70 | 6f 72 61 74 69 6f 6e 0d |oft Corp|oration.|
|00000120| 2f 2a 09 41 6c 6c 20 52 | 69 67 68 74 73 20 52 65 |/*.All R|ights Re|
|00000130| 73 65 72 76 65 64 0d 2f | 2a 0d 2f 2a 09 76 65 72 |served./|*./*.ver|
|00000140| 73 69 6f 6e 20 31 2e 30 | 0d 2f 2a 09 0d 2f 2a 09 |sion 1.0|./*../*.|
|00000150| 0d 2f 2a 09 54 68 69 73 | 20 6d 6f 64 75 6c 65 20 |./*.This| module |
|00000160| 70 72 6f 76 69 64 65 73 | 20 61 20 72 6f 75 74 69 |provides| a routi|
|00000170| 6e 65 20 77 68 69 63 68 | 20 77 69 6c 6c 20 73 65 |ne which| will se|
|00000180| 74 20 74 68 65 20 63 6f | 6e 66 69 67 75 72 61 74 |t the co|nfigurat|
|00000190| 69 6f 6e 0d 2f 2a 09 66 | 6c 61 67 73 2e 0d 2f 2a |ion./*.f|lags../*|
|000001a0| 09 0d 2f 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |../*****|********|
|000001b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2f 0d 0d 2f 2a 2a |********|**/../**|
|000001f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000200| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000210| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000220| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000230| 2a 2a 2a 2a 2a 2f 0d 2f | 2a 0d 2f 2a 09 67 65 74 |*****/./|*./*.get|
|00000240| 5f 72 65 61 64 5f 66 6c | 61 67 73 0d 2f 2a 0d 2f |_read_fl|ags./*./|
|00000250| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000260| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000270| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000280| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000290| 2a 2a 2a 2a 2a 2a 2a 2f | 0d 0d 76 6f 69 64 20 67 |*******/|..void g|
|000002a0| 65 74 5f 72 65 61 64 5f | 66 6c 61 67 73 28 20 70 |et_read_|flags( p|
|000002b0| 73 7a 2c 20 70 66 45 63 | 68 6f 2c 20 70 66 45 64 |sz, pfEc|ho, pfEd|
|000002c0| 69 74 2c 20 70 66 53 74 | 72 69 70 4c 46 2c 20 70 |it, pfSt|ripLF, p|
|000002d0| 66 53 74 72 69 70 38 42 | 69 74 2c 20 70 66 41 64 |fStrip8B|it, pfAd|
|000002e0| 64 4c 46 2c 20 70 66 49 | 67 6e 6f 72 65 20 29 0d |dLF, pfI|gnore ).|
|000002f0| 09 0d 09 72 65 67 69 73 | 74 65 72 20 63 68 61 72 |...regis|ter char|
|00000300| 09 09 09 2a 70 73 7a 3b | 09 09 09 09 09 09 2f 2a |...*psz;|....../*|
|00000310| 20 73 74 72 69 6e 67 20 | 68 6f 6c 64 69 6e 67 20 | string |holding |
|00000320| 63 6f 6e 66 69 67 53 74 | 72 20 2a 2f 0d 09 42 6f |configSt|r */..Bo|
|00000330| 6f 6c 65 61 6e 09 09 09 | 09 09 2a 70 66 45 63 68 |olean...|..*pfEch|
|00000340| 6f 3b 09 09 09 09 09 2f | 2a 20 66 6c 61 67 20 66 |o;...../|* flag f|
|00000350| 6f 72 20 65 63 68 6f 69 | 6e 67 20 63 68 61 72 61 |or echoi|ng chara|
|00000360| 63 74 65 72 73 20 2a 2f | 0d 09 42 6f 6f 6c 65 61 |cters */|..Boolea|
|00000370| 6e 09 09 09 09 09 2a 70 | 66 45 64 69 74 3b 09 09 |n.....*p|fEdit;..|
|00000380| 09 09 09 2f 2a 20 66 6c | 61 67 20 66 6f 72 20 61 |.../* fl|ag for a|
|00000390| 6c 6c 6f 77 69 6e 67 20 | 65 64 69 74 20 63 68 61 |llowing |edit cha|
|000003a0| 72 61 63 74 65 72 73 20 | 2a 2f 0d 09 42 6f 6f 6c |racters |*/..Bool|
|000003b0| 65 61 6e 09 09 09 09 09 | 2a 70 66 53 74 72 69 70 |ean.....|*pfStrip|
|000003c0| 4c 46 3b 09 09 09 09 09 | 2f 2a 20 66 6c 61 67 20 |LF;.....|/* flag |
|000003d0| 66 6f 72 20 73 74 72 69 | 70 70 69 6e 67 20 6c 69 |for stri|pping li|
|000003e0| 6e 65 20 66 65 65 64 73 | 20 2a 2f 0d 09 42 6f 6f |ne feeds| */..Boo|
|000003f0| 6c 65 61 6e 09 09 09 09 | 09 2a 70 66 53 74 72 69 |lean....|.*pfStri|
|00000400| 70 38 42 69 74 3b 09 09 | 09 09 2f 2a 20 66 6c 61 |p8Bit;..|../* fla|
|00000410| 67 20 66 6f 72 20 73 74 | 72 69 70 70 69 6e 67 20 |g for st|ripping |
|00000420| 68 69 67 68 20 62 69 74 | 20 2a 2f 0d 09 42 6f 6f |high bit| */..Boo|
|00000430| 6c 65 61 6e 09 09 09 09 | 09 2a 70 66 41 64 64 4c |lean....|.*pfAddL|
|00000440| 46 3b 09 09 09 09 09 2f | 2a 20 66 6c 61 67 20 66 |F;...../|* flag f|
|00000450| 6f 72 20 61 64 64 69 6e | 67 20 6c 69 6e 65 66 65 |or addin|g linefe|
|00000460| 65 64 73 20 2a 2f 0d 09 | 42 6f 6f 6c 65 61 6e 09 |eds */..|Boolean.|
|00000470| 09 09 09 09 2a 70 66 49 | 67 6e 6f 72 65 3b 09 09 |....*pfI|gnore;..|
|00000480| 09 09 09 2f 2a 20 66 6c | 61 67 20 66 6f 72 20 69 |.../* fl|ag for i|
|00000490| 67 6e 6f 72 69 6e 67 20 | 65 73 63 61 70 65 20 63 |gnoring |escape c|
|000004a0| 68 61 72 73 20 2a 2f 0d | 0d 7b 0d 09 77 68 69 6c |hars */.|.{..whil|
|000004b0| 65 28 20 2a 70 73 7a 20 | 21 3d 20 30 20 29 20 7b |e( *psz |!= 0 ) {|
|000004c0| 0d 09 09 73 77 69 74 63 | 68 28 20 2a 70 73 7a 20 |...switc|h( *psz |
|000004d0| 29 20 7b 0d 09 09 09 63 | 61 73 65 20 27 45 27 3a |) {....c|ase 'E':|
|000004e0| 0d 09 09 09 09 2a 70 66 | 45 63 68 6f 20 3d 20 66 |.....*pf|Echo = f|
|000004f0| 54 72 75 65 3b 0d 09 09 | 09 09 62 72 65 61 6b 3b |True;...|..break;|
|00000500| 0d 09 09 09 63 61 73 65 | 20 27 65 27 3a 0d 09 09 |....case| 'e':...|
|00000510| 09 09 2a 70 66 45 63 68 | 6f 20 3d 20 66 46 61 6c |..*pfEch|o = fFal|
|00000520| 73 65 3b 0d 09 09 09 09 | 62 72 65 61 6b 3b 0d 09 |se;.....|break;..|
|00000530| 09 09 63 61 73 65 20 27 | 58 27 3a 0d 09 09 09 09 |..case '|X':.....|
|00000540| 2a 70 66 45 64 69 74 20 | 3d 20 66 54 72 75 65 3b |*pfEdit |= fTrue;|
|00000550| 0d 09 09 09 09 62 72 65 | 61 6b 3b 0d 09 09 09 63 |.....bre|ak;....c|
|00000560| 61 73 65 20 27 78 27 3a | 0d 09 09 09 09 2a 70 66 |ase 'x':|.....*pf|
|00000570| 45 64 69 74 20 3d 20 66 | 46 61 6c 73 65 3b 0d 09 |Edit = f|False;..|
|00000580| 09 09 09 62 72 65 61 6b | 3b 0d 09 09 09 63 61 73 |...break|;....cas|
|00000590| 65 20 27 53 27 3a 0d 09 | 09 09 09 2a 70 66 53 74 |e 'S':..|...*pfSt|
|000005a0| 72 69 70 4c 46 20 3d 20 | 66 54 72 75 65 3b 0d 09 |ripLF = |fTrue;..|
|000005b0| 09 09 09 62 72 65 61 6b | 3b 0d 09 09 09 63 61 73 |...break|;....cas|
|000005c0| 65 20 27 73 27 3a 0d 09 | 09 09 09 2a 70 66 53 74 |e 's':..|...*pfSt|
|000005d0| 72 69 70 4c 46 20 3d 20 | 66 46 61 6c 73 65 3b 0d |ripLF = |fFalse;.|
|000005e0| 09 09 09 09 62 72 65 61 | 6b 3b 0d 09 09 09 63 61 |....brea|k;....ca|
|000005f0| 73 65 20 27 4c 27 3a 0d | 09 09 09 09 2a 70 66 41 |se 'L':.|....*pfA|
|00000600| 64 64 4c 46 20 3d 20 66 | 54 72 75 65 3b 0d 09 09 |ddLF = f|True;...|
|00000610| 09 09 62 72 65 61 6b 3b | 0d 09 09 09 63 61 73 65 |..break;|....case|
|00000620| 20 27 6c 27 3a 0d 09 09 | 09 09 2a 70 66 41 64 64 | 'l':...|..*pfAdd|
|00000630| 4c 46 20 3d 20 66 46 61 | 6c 73 65 3b 0d 09 09 09 |LF = fFa|lse;....|
|00000640| 09 62 72 65 61 6b 3b 0d | 09 09 09 63 61 73 65 20 |.break;.|...case |
|00000650| 27 41 27 3a 0d 09 09 09 | 09 2a 70 66 53 74 72 69 |'A':....|.*pfStri|
|00000660| 70 38 42 69 74 20 3d 20 | 66 54 72 75 65 3b 0d 09 |p8Bit = |fTrue;..|
|00000670| 09 09 09 62 72 65 61 6b | 3b 0d 09 09 09 63 61 73 |...break|;....cas|
|00000680| 65 20 27 61 27 3a 0d 09 | 09 09 09 2a 70 66 53 74 |e 'a':..|...*pfSt|
|00000690| 72 69 70 38 42 69 74 20 | 3d 20 66 46 61 6c 73 65 |rip8Bit |= fFalse|
|000006a0| 3b 0d 09 09 09 09 62 72 | 65 61 6b 3b 0d 09 09 09 |;.....br|eak;....|
|000006b0| 63 61 73 65 20 27 49 27 | 3a 0d 09 09 09 09 2a 70 |case 'I'|:.....*p|
|000006c0| 66 49 67 6e 6f 72 65 20 | 3d 20 66 54 72 75 65 3b |fIgnore |= fTrue;|
|000006d0| 0d 09 09 09 09 62 72 65 | 61 6b 3b 0d 09 09 09 63 |.....bre|ak;....c|
|000006e0| 61 73 65 20 27 69 27 3a | 0d 09 09 09 09 2a 70 66 |ase 'i':|.....*pf|
|000006f0| 49 67 6e 6f 72 65 20 3d | 20 66 46 61 6c 73 65 3b |Ignore =| fFalse;|
|00000700| 0d 09 09 09 09 62 72 65 | 61 6b 3b 0d 09 09 7d 0d |.....bre|ak;...}.|
|00000710| 09 09 70 73 7a 2b 2b 3b | 0d 09 7d 0d 7d 0d 0d 00 |..psz++;|..}.}...|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 10 67 65 74 5f 72 65 61 | 64 5f 66 6c 61 67 73 2e |.get_rea|d_flags.|
|000007c0| 63 6c 02 00 00 00 54 45 | 58 54 4d 50 53 20 00 00 |cl....TE|XTMPS ..|
|000007d0| 00 00 54 45 58 54 4d 50 | 53 20 00 00 01 54 00 60 |..TEXTMP|S ...T.`|
|000007e0| 00 00 4b 33 00 00 00 00 | 00 00 00 00 00 00 00 00 |..K3....|........|
|000007f0| 00 00 a0 d5 53 cd 00 00 | 06 9f 00 00 01 7e 00 00 |....S...|.....~..|
|00000800| 00 00 00 00 00 00 00 00 | ff ff ff ff 00 00 00 20 |........|....... |
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 2a 2a 2a |...H..Mo|naco.***|
|00000890| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000008a0| 2f 0d 2f 2a 09 0d 00 06 | 00 04 00 2c 01 7f 00 86 |/./*....|...,....|
|000008b0| 02 4f 00 2c 01 7f 00 86 | 02 4f a0 f4 c9 39 00 00 |.O.,....|.O...9..|
|000008c0| 00 72 00 00 00 72 00 00 | 00 00 01 00 00 00 01 00 |.r...r..|........|
|000008d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 28 ed 7c |...L...L|...2.(.||
|000008e0| 0a a8 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|000008f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+